package com.example.service;

import com.example.pojo.Emp;
import com.example.pojo.PageBean;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_DaChiZi
 * Date: 2025/9/3
 * Time: 11:15
 */
public interface EmpService {
    PageBean page(Integer page, Integer pageSize,String name, Short gender,
                  LocalDateTime begin, LocalDateTime end);

    void deleteByIds(List<Integer> ids);

    void insertEmp(Emp emp);

    Emp findById(Integer id);

    void updateById(Emp emp);

    Emp login(Emp emp);
}
